/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.isfd.domain.IsfdSceneMapStepModelRef;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.HashSet;
import java.util.List;
import java.util.Set;


/**
 * 系统地图步骤-模型关联视图对象 isfd_scene_map_step_model_ref
 *
 * @author hxloongs
 * @date 2025-03-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdSceneMapStepModelRef.class)
public class IsfdSceneMapStepModelRefVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 自增主键，唯一标识每一个记录
     */
    @ExcelProperty(value = "自增主键，唯一标识每一个记录")
    private Long id;

    /**
     * 系统地图步骤id
     */
    @ExcelProperty(value = "系统地图步骤id")
    private Long mapStepId;

    /**
     * 当前父模型id
     */
    @ExcelProperty(value = "当前父模型id")
    private Long modelId;

    /**
     * 当前父模型名称
     */
    @ExcelProperty(value = "当前父模型名称")
    private String modelName;

    /**
     * 要素库类型id
     */
    @ExcelProperty(value = "要素库类型id")
    private Long databaseTypeId;

    /**
     * 导入数据量
     */
    private Integer importCount = 0;
    /**
     * 导入方式
     */
    private Set<String> importMethods = new HashSet<>();
    /**
     * 服务调用次数
     */
    private Integer serviceCalledCount = 0;

    /**
     * 所有版本的模型列表
     */
    private List<IsfdSceneMapStepModelStatisticsVo> modelList;
}
